package com.aiyige.model.message.push;


/**
 * 推送的消息体格式
 * Created by qianglong on 2018/1/24.
 */

public class JMessage {
    public static final String TYPE_ATTENTION = "attention";
    public static final String TYPE_MESSAGE = "message";
    public static final String TYPE_MOMENT_STATUS_MESSAGE = "momentStatus";

    /**
     * 版本
     */
    private String version;
    /**
     * 推送类型
     */
    private String type;
    /**
     * 前端处理方法
     */
    private String method;
    /**
     * 推送内容
     */
    private String data;
    /**
     * 推送时间
     */
    private Long pushTime;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Long getPushTime() {
        return pushTime;
    }

    public void setPushTime(Long pushTime) {
        this.pushTime = pushTime;
    }
}
